//Source file: D:\\test\\com\\ce\\pms\\house\\model\\ImageDomain.java

package com.ce.pms.house.model;

import javax.persistence.Column;
import javax.persistence.Embedded;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import com.ce.pms.common.model.SysInfo;
import com.sitechasia.webx.core.model.IDomainObject;

/**
 * 实体:图片 关联表：HM_IMAGE
 */
@Entity
@Table(name = "HM_IMAGE")
public class ImageDomain implements IDomainObject{

	/**
	 * 图片主键
	 */
	@Id
	@GeneratedValue
	@Column(name = "IMAGE_ID")
	private Long keyword;

	/**
	 * 图片名称
	 */
	@Column(name = "NAME", nullable = false, length = 30)
	private String name;

	/**
	 * 图片路径
	 */
	@Column(name = "PATH", nullable = false, length = 255)
	private String path;

	@Embedded
	private SysInfo sysInfo;

	/**
	 * @roseuid 484F3FA500DA
	 */
	public ImageDomain() {
	}



	public ImageDomain(Long keyword) {
		super();
		this.keyword = keyword;
	}



	/**
	 * mini constructor
	 *
	 * @param name
	 *            图片名称
	 * @param path
	 *            图片路径
	 * @param sysInfo
	 *            系统信息
	 */
	public ImageDomain(String name, String path, SysInfo sysInfo) {
		super();
		this.name = name;
		this.path = path;
		this.sysInfo = sysInfo;
	}
	/**************************************************
	 * Accessors and Modifiers
	 **************************************************/
	public Long getKeyword() {
		return keyword;
	}

	public void setKeyword(Long keyword) {
		this.keyword = keyword;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public SysInfo getSysInfo() {
		return sysInfo;
	}

	public void setSysInfo(SysInfo sysInfo) {
		this.sysInfo = sysInfo;
	}



}
